package org.aswing;

extern class JFrameTitleBar extends Container, implements FrameTitleBar, implements org.aswing.plaf.UIResource {
	function new() : Void;
	function addExtraControl(p0 : Component, p1 : Int) : Void;
	function getCloseButton() : AbstractButton;
	function getFrame() : JWindow;
	function getIcon() : Icon;
	function getIconifiedButton() : AbstractButton;
	function getLabel() : JLabel;
	function getMaximizeButton() : AbstractButton;
	function getRestoreButton() : AbstractButton;
	function getSelf() : Component;
	function getText() : String;
	function isTitleEnabled() : Bool;
	function removeExtraControl(p0 : Component) : Component;
	function setCloseButton(p0 : AbstractButton) : Void;
	function setCloseButtonVisible(p0 : Bool) : Void;
	function setFrame(p0 : JWindow) : Void;
	function setIcon(p0 : Icon) : Void;
	function setIconifiedButton(p0 : AbstractButton) : Void;
	function setIconifiedButtonVisible(p0 : Bool) : Void;
	function setMaximizeButton(p0 : AbstractButton) : Void;
	function setMaximizeButtonVisible(p0 : Bool) : Void;
	function setRestoreButton(p0 : AbstractButton) : Void;
	function setRestoreButtonVisible(p0 : Bool) : Void;
	function setText(p0 : String) : Void;
	function setTitleEnabled(p0 : Bool) : Void;
	function updateUIPropertiesFromOwner() : Void;
	private var activeTextColor : ASColor;
	private var buttonPane : Container;
	private var buttonPaneLayout : SoftBoxLayout;
	private var closeButton : AbstractButton;
	private var frame : JFrame;
	private var icon : Icon;
	private var iconifiedButton : AbstractButton;
	private var inactiveTextColor : ASColor;
	private var maximizeButton : AbstractButton;
	private var owner : JWindow;
	private var restoreButton : AbstractButton;
	private var text : String;
	private var titleEnabled : Bool;
	private var titleLabel : JLabel;
	private function createCloseButton() : AbstractButton;
	private function createIconifiedButton() : AbstractButton;
	private function createMaximizeButton() : AbstractButton;
	private function createPureButton() : JButton;
	private function createRestoreButton() : AbstractButton;
	private function getFrameIcon(p0 : String) : Icon;
	private function getFrameUIColor(p0 : String) : ASColor;
	private function getFrameUIInt(p0 : String) : Int;
	private function getTitleBGD(p0 : String) : GroundDecorator;
}
